import request from '@/utils/request'

// 查询zhiweibiao列表
export function listZhiweibiao(query) {
  return request({
    url: '/system/zhiweibiao/list',
    method: 'get',
    params: query
  })
}

// 查询zhiweibiao详细
export function getZhiweibiao(id) {
  return request({
    url: '/system/zhiweibiao/' + id,
    method: 'get'
  })
}

// 新增zhiweibiao
export function addZhiweibiao(data) {
  return request({
    url: '/system/zhiweibiao',
    method: 'post',
    data: data
  })
}

// 修改zhiweibiao
export function updateZhiweibiao(data) {
  return request({
    url: '/system/zhiweibiao',
    method: 'put',
    data: data
  })
}

// 删除zhiweibiao
export function delZhiweibiao(id) {
  return request({
    url: '/system/zhiweibiao/' + id,
    method: 'delete'
  })
}
